/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pt.iasd.youthshelter.datamodel.service;

import java.util.List;
import pt.iasd.youthshelter.datacore.controller.exceptions.NonexistentEntityException;
import pt.iasd.youthshelter.datamodel.Club;

/**
 *
 * @author Rui
 */
public interface ClubController {

    void create(Club club);

    void destroy(Integer id) throws NonexistentEntityException;

    void edit(Club club) throws NonexistentEntityException, Exception;

    Club findClub(Integer id);

    List<Club> findClubEntities();

    List<Club> findClubEntities(int maxResults, int firstResult);

    int getClubCount();
    
}
